<template>
  <div class="left-nav">
   <ul>
       <li>
           <i class="icon iconfont icon-guarantee"></i>
           <div>收银</div>
       </li>
       <li>
           <i class="icon iconfont icon-marks"></i>
           <div>店铺</div>
       </li>
       <li>
           <i class="icon iconfont icon-gift"></i>
           <div>商品</div>
       </li>
       <li>
           <i class="icon iconfont icon-jewelry"></i>
           <div>会员</div>
       </li>
       <li>
           <i class="icon iconfont icon-cart"></i>
           <div>统计</div>
       </li>
       <li>
           <i class="icon iconfont icon-setting"></i>
           <div>设置</div>
       </li>
   </ul>
    
  </div>
</template>

<script>
export default {
  name: 'left-nav',
  data () {
    return {
      msg: 'Welcome to Your Vue.js App'
    }
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style >
.left-nav{
    color: #fff;
    font-size: 10px;
    height: 100%;
    background-color: #1d8ce0;
    float: left;
    width: 5%;
}
.iconfont{
    font-size: 24px;
}
.left-nav ul{
    padding: 0;
    margin: 0;
}
.left-nav li{
    list-style: none;
    text-align: center;
    border-bottom: 1px solid #20a0ff;
    padding: 10px;
}
</style>
